package com.eachonline.smart.model.base;

import com.eachonline.model.BaseModel;
import java.io.Serializable;
import java.util.Date;

public class BaseSmartCourse extends BaseModel implements Serializable {
    private String courseName;

    private Double coursePrice;

    private String isFree;

    private Date courseStartTime;

    private Date courseEndTime;

    private String courseIntro;

    private String studyObejct;

    private String userSid;

    private Date createTime;

    private Date modifyTime;

    private String teacherName;

    private String teacherId;

    private String courseType;

    private String mainCoursePic;

    private String studyNum;

    private Integer courseNum;

    private String courseCategroy;

    private String courseLevel;

    private String courseSite;

    private String checkStatus;

    private String comment;

    private String courseCategroyCode;

    private Integer studentNum;

    private String courseRank;

    private Integer supportNum;

    private static final long serialVersionUID = 1L;

    public String getCourseName() {
        return courseName;
    }

    public void setCourseName(String courseName) {
        this.courseName = courseName == null ? null : courseName.trim();
    }

    public Double getCoursePrice() {
        return coursePrice;
    }

    public void setCoursePrice(Double coursePrice) {
        this.coursePrice = coursePrice;
    }

    public String getIsFree() {
        return isFree;
    }

    public void setIsFree(String isFree) {
        this.isFree = isFree == null ? null : isFree.trim();
    }

    public Date getCourseStartTime() {
        return courseStartTime;
    }

    public void setCourseStartTime(Date courseStartTime) {
        this.courseStartTime = courseStartTime;
    }

    public Date getCourseEndTime() {
        return courseEndTime;
    }

    public void setCourseEndTime(Date courseEndTime) {
        this.courseEndTime = courseEndTime;
    }

    public String getCourseIntro() {
        return courseIntro;
    }

    public void setCourseIntro(String courseIntro) {
        this.courseIntro = courseIntro == null ? null : courseIntro.trim();
    }

    public String getStudyObejct() {
        return studyObejct;
    }

    public void setStudyObejct(String studyObejct) {
        this.studyObejct = studyObejct == null ? null : studyObejct.trim();
    }

    public String getUserSid() {
        return userSid;
    }

    public void setUserSid(String userSid) {
        this.userSid = userSid == null ? null : userSid.trim();
    }

    public Date getCreateTime() {
        return createTime;
    }

    public void setCreateTime(Date createTime) {
        this.createTime = createTime;
    }

    public Date getModifyTime() {
        return modifyTime;
    }

    public void setModifyTime(Date modifyTime) {
        this.modifyTime = modifyTime;
    }

    public String getTeacherName() {
        return teacherName;
    }

    public void setTeacherName(String teacherName) {
        this.teacherName = teacherName == null ? null : teacherName.trim();
    }

    public String getTeacherId() {
        return teacherId;
    }

    public void setTeacherId(String teacherId) {
        this.teacherId = teacherId == null ? null : teacherId.trim();
    }

    public String getCourseType() {
        return courseType;
    }

    public void setCourseType(String courseType) {
        this.courseType = courseType == null ? null : courseType.trim();
    }

    public String getMainCoursePic() {
        return mainCoursePic;
    }

    public void setMainCoursePic(String mainCoursePic) {
        this.mainCoursePic = mainCoursePic == null ? null : mainCoursePic.trim();
    }

    public String getStudyNum() {
        return studyNum;
    }

    public void setStudyNum(String studyNum) {
        this.studyNum = studyNum == null ? null : studyNum.trim();
    }

    public Integer getCourseNum() {
        return courseNum;
    }

    public void setCourseNum(Integer courseNum) {
        this.courseNum = courseNum;
    }

    public String getCourseCategroy() {
        return courseCategroy;
    }

    public void setCourseCategroy(String courseCategroy) {
        this.courseCategroy = courseCategroy == null ? null : courseCategroy.trim();
    }

    public String getCourseLevel() {
        return courseLevel;
    }

    public void setCourseLevel(String courseLevel) {
        this.courseLevel = courseLevel == null ? null : courseLevel.trim();
    }

    public String getCourseSite() {
        return courseSite;
    }

    public void setCourseSite(String courseSite) {
        this.courseSite = courseSite == null ? null : courseSite.trim();
    }

    public String getCheckStatus() {
        return checkStatus;
    }

    public void setCheckStatus(String checkStatus) {
        this.checkStatus = checkStatus == null ? null : checkStatus.trim();
    }

    public String getComment() {
        return comment;
    }

    public void setComment(String comment) {
        this.comment = comment == null ? null : comment.trim();
    }

    public String getCourseCategroyCode() {
        return courseCategroyCode;
    }

    public void setCourseCategroyCode(String courseCategroyCode) {
        this.courseCategroyCode = courseCategroyCode == null ? null : courseCategroyCode.trim();
    }

    public Integer getStudentNum() {
        return studentNum;
    }

    public void setStudentNum(Integer studentNum) {
        this.studentNum = studentNum;
    }

    public String getCourseRank() {
        return courseRank;
    }

    public void setCourseRank(String courseRank) {
        this.courseRank = courseRank == null ? null : courseRank.trim();
    }

    public Integer getSupportNum() {
        return supportNum;
    }

    public void setSupportNum(Integer supportNum) {
        this.supportNum = supportNum;
    }

    @Override
    public String toString() {
        StringBuilder sb = new StringBuilder();
        sb.append(getClass().getSimpleName());
        sb.append(" [");
        sb.append("Hash = ").append(hashCode());
        sb.append(", sid=").append(sid);
        sb.append(", courseName=").append(courseName);
        sb.append(", coursePrice=").append(coursePrice);
        sb.append(", isFree=").append(isFree);
        sb.append(", courseStartTime=").append(courseStartTime);
        sb.append(", courseEndTime=").append(courseEndTime);
        sb.append(", courseIntro=").append(courseIntro);
        sb.append(", studyObejct=").append(studyObejct);
        sb.append(", userSid=").append(userSid);
        sb.append(", createTime=").append(createTime);
        sb.append(", modifyTime=").append(modifyTime);
        sb.append(", teacherName=").append(teacherName);
        sb.append(", teacherId=").append(teacherId);
        sb.append(", courseType=").append(courseType);
        sb.append(", mainCoursePic=").append(mainCoursePic);
        sb.append(", studyNum=").append(studyNum);
        sb.append(", courseNum=").append(courseNum);
        sb.append(", courseCategroy=").append(courseCategroy);
        sb.append(", courseLevel=").append(courseLevel);
        sb.append(", courseSite=").append(courseSite);
        sb.append(", checkStatus=").append(checkStatus);
        sb.append(", comment=").append(comment);
        sb.append(", courseCategroyCode=").append(courseCategroyCode);
        sb.append(", studentNum=").append(studentNum);
        sb.append(", courseRank=").append(courseRank);
        sb.append(", supportNum=").append(supportNum);
        sb.append(", serialVersionUID=").append(serialVersionUID);
        sb.append("]");
        return sb.toString();
    }

    @Override
    public boolean equals(Object that) {
        if (this == that) {
            return true;
        }
        if (that == null) {
            return false;
        }
        if (getClass() != that.getClass()) {
            return false;
        }
        BaseSmartCourse other = (BaseSmartCourse) that;
        return (this.getSid() == null ? other.getSid() == null : this.getSid().equals(other.getSid()));
    }

    @Override
    public int hashCode() {
        final int prime = 31;
        int result = 1;
        result = prime * result + ((getSid() == null) ? 0 : getSid().hashCode());
        return result;
    }
}